package com.starbaba.weixin.model;

import java.io.Serializable;

/**
 * @author Yukinomiu
 * @version 1.0
 */
public final class WeixinMenuDbVO implements Serializable {

    private static final long serialVersionUID = -3234449502350787459L;

    private WeixinMenuRoot root;
    private WeixinMenuVO menuVO;

    public WeixinMenuDbVO() {
    }

    public WeixinMenuDbVO(WeixinMenuRoot root, WeixinMenuVO menuVO) {
        this.root = root;
        this.menuVO = menuVO;
    }

    @Override
    public String toString() {
        return "WeixinMenuDbVO{" +
                "root=" + root +
                ", menuVO=" + menuVO +
                '}';
    }

    public WeixinMenuRoot getRoot() {
        return root;
    }

    public WeixinMenuDbVO setRoot(WeixinMenuRoot root) {
        this.root = root;
        return this;
    }

    public WeixinMenuVO getMenuVO() {
        return menuVO;
    }

    public WeixinMenuDbVO setMenuVO(WeixinMenuVO menuVO) {
        this.menuVO = menuVO;
        return this;
    }
}
